Tag Link | [Email_SMTP->Open] | Category | |
---|---|---|---|
Type | Member | Source Available | Yes |
Support | Preferred | Version | 8.0 |
Change | Unchanged | Data Source | Any |
Output Type | Boolean | Security | Tag |
Implementation | LDML | Sets | Lasso 8.5, Lasso 8.0 |
[Email_SMTP->Open] opens a connection to a remote SMTP server so emails can be sent through it. The tag requires one parameter which is the
Optional parameters include
[Var: 'SMTP' = (Email_SMTP)]
[$SMTP->(Open:
[$SMTP->(Send: ...)]
[$SMTP->Close]
Required Parameters | |
---|---|
-Host | The IP address or DNS host name of the SMTP server. |
Optional Parameters | |
-Port | The port for the SMTP server (defaults to 25) |
-Timeout | Optional timeout for the SMTP server. Defaults to 15 seconds. |
-Username | The username for the SMTP server. |
-Password | The password for the SMTP server. |
See the Lasso 8 Language Guide for examples of how to use this tag.